//
//  UIImage+Extended.m
//  tentecthORC
//
//  Created by 湖南机友科技有限公司 on 2018/3/23.
//  Copyright © 2018年 湖南机友科技有限公司. All rights reserved.
//

#import "UIImage+Extended.h"

@implementation UIImage (Extended)
- (NSString *)base64String {
    NSData * data = [UIImagePNGRepresentation(self) base64EncodedDataWithOptions:NSDataBase64Encoding64CharacterLineLength];
    return [NSString stringWithUTF8String:[data bytes]];
}
@end
